package com.whmskj.xjlhbc.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

@Data
@Schema(name = "机台列表",description = "机台列表")
@TableName(value = "sb11dKnittingStationsTied")
public class Sb11dknittingstationstied {
    private Integer id;

    private String wrote;

    private Long wroteSequenceNumber;

    private String weavingStationNumber;

    private String wroteboardStationNumber;

    private String deviceName;

    private String synchronisingFolderFailedSS;

    private String platoonNumberDisplay;

    @TableField(exist = false)
    @Schema(description = "机台绑定")
    private List<Map<String,Object>> jthList = new ArrayList<>();

    public String getPlatoonNumberDisplay() {
        return wroteboardStationNumber+"号台位";
    }
}
